package com.app.micaihu.view.army.contract

import com.app.base.mvp.BaseView
import com.app.http.bean.BaseBean
import com.app.micaihu.bean.news.ShareBean
import com.app.micaihu.view.bean.ArmyCreateInfo
import com.app.micaihu.view.bean.ArmyDetail

/**
 *创建军团
 */
interface ArmyCreateContract {
    interface View : BaseView {
        fun handleCreateArmyIndex(result: BaseBean<ArmyCreateInfo?>?) {}
        fun handleCreateArmy(result: BaseBean<Any?>?) {}
        fun handleEditNotice(result: BaseBean<Any?>?) {}
    }

    interface Presenter {
        fun createArmyIndex()

        /**
         *   * 创建军团接口
         * @param uid 当前用户id
         * @param armyIcon 军团logo
         * @param armyName 军团名称
         * @param tag 兴趣标签
         * @param warZone 战区
         * @param armyDesc 军团简介
         */
        fun createArmy(armyIcon: String, armyName: String, tag: String, warZone: String, armyDesc: String)

        /**
         * army/editNotice
         * 编辑军团公告
         * @param uid 当前用户id
         * @param gid 军团ID
         * @param content 公告内容
         */
        fun editNotice(gid: String, content: String)


    }
}